package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 参赛国家信息对象 cp_country
 *
 * @author zhangjinlei
 * @date 2022-04-25
 */
public class CpCountry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 国家 */
    @Excel(name = "国家")
    private String country;

    /** 参赛时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参赛时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 参赛人数 */
    @Excel(name = "参赛人数")
    private Long entryNumber;

    /** 参与项目 ：1-2022东奥运动会项目 */
    @Excel(name = "参与项目 ：1-2022东奥运动会项目")
    private Long pPationProject;

    /** 参与状态 ：0-启用，1-禁用 */
    @Excel(name = "参与状态 ：0-启用，1-禁用")
    private Long particiPationStatus;

    /** 参与方式 ：1-飞机，2-轮船，3-其他交通 */
    @Excel(name = "参与方式 ：1-飞机，2-轮船，3-其他交通")
    private Long particiPationWay;

    /** 行程安排 */
    @Excel(name = "行程安排")
    private String schedule;
    /**
     * 参赛人名字
     */
    @Excel(name = "参赛人名字")
    private String name;

    /** 逻辑删除字段 0 正常 1 已删除 */
    private Integer isDeleted;

    /** 创建人ID */
    private Long createUserid;

    /** 创建人姓名 */
    private String createUsername;

    /** 创建时间-数据库操作时间 */
    private Date createTimeDb;

    /** 服务器IP */
    private String serverIp;

    /** 最后修改人ID */
    private Long updateUserid;

    /** 最后修改人姓名 */
    private String updateUsername;

    /** 最后修改时间-数据库默认写入时间 */
    private Date updateTimeDb;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getCountry()
    {
        return country;
    }
    public void setEntryTime(Date entryTime)
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime()
    {
        return entryTime;
    }
    public void setEntryNumber(Long entryNumber)
    {
        this.entryNumber = entryNumber;
    }

    public Long getEntryNumber()
    {
        return entryNumber;
    }
    public void setpPationProject(Long pPationProject)
    {
        this.pPationProject = pPationProject;
    }

    public Long getpPationProject()
    {
        return pPationProject;
    }
    public void setParticiPationStatus(Long particiPationStatus)
    {
        this.particiPationStatus = particiPationStatus;
    }

    public Long getParticiPationStatus()
    {
        return particiPationStatus;
    }
    public void setParticiPationWay(Long particiPationWay)
    {
        this.particiPationWay = particiPationWay;
    }

    public Long getParticiPationWay()
    {
        return particiPationWay;
    }
    public void setSchedule(String schedule)
    {
        this.schedule = schedule;
    }

    public String getSchedule()
    {
        return schedule;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }
    public void setCreateUserid(Long createUserid)
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid()
    {
        return createUserid;
    }
    public void setCreateUsername(String createUsername)
    {
        this.createUsername = createUsername;
    }

    public String getCreateUsername()
    {
        return createUsername;
    }
    public void setCreateTimeDb(Date createTimeDb)
    {
        this.createTimeDb = createTimeDb;
    }

    public Date getCreateTimeDb()
    {
        return createTimeDb;
    }
    public void setServerIp(String serverIp)
    {
        this.serverIp = serverIp;
    }

    public String getServerIp()
    {
        return serverIp;
    }
    public void setUpdateUserid(Long updateUserid)
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid()
    {
        return updateUserid;
    }
    public void setUpdateUsername(String updateUsername)
    {
        this.updateUsername = updateUsername;
    }

    public String getUpdateUsername()
    {
        return updateUsername;
    }
    public void setUpdateTimeDb(Date updateTimeDb)
    {
        this.updateTimeDb = updateTimeDb;
    }

    public Date getUpdateTimeDb()
    {
        return updateTimeDb;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("country", getCountry())
            .append("entryTime", getEntryTime())
            .append("entryNumber", getEntryNumber())
            .append("pPationProject", getpPationProject())
            .append("particiPationStatus", getParticiPationStatus())
            .append("particiPationWay", getParticiPationWay())
            .append("schedule", getSchedule())
            .append("isDeleted", getIsDeleted())
            .append("createUserid", getCreateUserid())
            .append("createUsername", getCreateUsername())
            .append("createTime", getCreateTime())
            .append("createTimeDb", getCreateTimeDb())
            .append("serverIp", getServerIp())
            .append("updateUserid", getUpdateUserid())
            .append("updateUsername", getUpdateUsername())
            .append("updateTime", getUpdateTime())
            .append("updateTimeDb", getUpdateTimeDb())
            .toString();
    }
}
